/** @format */

import {AppRegistry} from 'react-native';
import App from './App';
import DemoMain from './js/DemoMain';
import {name as appName} from './app.json';
import {StackNavigator} from "react-navigation";
import DemoBottomTab from "./js/DemoBottomTab";
import DemoZhiHu from "./js/DemoZhiHu";
import DemoZhiHuWebView from "./js/DemoZhiHuWebView";
import DemoMusicPlayer from "./js/DemoMusicPlayer";
import DemoFileManager from "./js/DemoFileManager";

const appNav = StackNavigator({
    //配置要跳转的页面
    DemoMain:{screen: DemoMain},
    DemoBottomTab:{screen: DemoBottomTab},
    DemoZhiHu:{screen: DemoZhiHu},
    DemoZhiHuWebView:{screen:DemoZhiHuWebView},
    DemoMusicPlayer: {screen:DemoMusicPlayer},
    DemoFileManager: {screen:DemoFileManager},
})

AppRegistry.registerComponent(appName, () => appNav);

